Insert a file name in a header or footer
- On the View menu, click Header and Footer.
- Click Custom Header or Custom Footer.
- Click in the Left section, Center section, or Right section box.
- On the row of buttons in the Header or Footer dialog box, click File Name
.
- If you want, do one or more of the following:
- To insert a path and file name or a worksheet tab, click Path & File
or Sheet Name
on the row of buttons in the Header or Footer dialog box.
-
To start a new line, press ENTER.
-
To delete a file name from a header or footer, select &[File] and then press DELETE.
Note Make sure the header or footer margin allows enough space for the custom header or footer.